package com.inforich.orderManage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import java.util.Map;
import com.inforich.orderManage.domain.BookingDriverDrivers;

/**
 * 预约单司机关系表Service接口
 *
 * @author hjm
 * @date 2022-10-26
 */
public interface IBookingDriverDriversService extends IService<BookingDriverDrivers> {

  /**
   * 分页列表
   */
  Page<BookingDriverDrivers> pageBookingDriverDrivers(Page<BookingDriverDrivers> page,
      Map<String, Object> map);

  /**
   * 列表
   */
  List<BookingDriverDrivers> listBookingDriverDrivers(Map<String, Object> map);

  /**
   * 删除司机相关的分配单
   */
  void removeByDriverId(Long driverId);
}
